front-end development
FrontendBench: A Benchmark for Evaluating LLMs on Front-End Development via Automatic Evaluation
Zhu, Hongda, Zhang, Yiwen, Zhao, Bing, Ding, Jingzhe, Liu, Siyao, Liu, Tong, Wang, Dandan, Liu, Yanan, Li, Zhaojian
Large Language Models (LLMs) have made significant strides in front-end code generation. However, existing benchmarks exhibit several critical limitations: many tasks are overly simplistic, test cases often lack rigor, and end-to-end validation is absent. These issues hinder the accurate assessment of model performance. To address these challenges, we present FrontendBench, a benchmark co-developed by humans and LLMs. FrontendBench categorizes tasks based on code functionality and incorporates interactive test scenarios, enabling a more comprehensive and practical evaluation of front-end code generation capabilities. The benchmark comprises 148 meticulously crafted prompt-test case pairs spanning five levels of web components, from basic UI elements to complex interactive features. Each task reflects realistic front-end development challenges. Furthermore, we introduce an automatic evaluation framework that executes generated code within a sandbox environment and assesses outcomes using predefined test scripts. This framework achieves a 90.54% agreement rate with expert human evaluations, demonstrating high reliability. We benchmark several state-of-the-art LLMs on FrontendBench and observe substantial performance disparities in handling real-world front-end tasks. These results highlight FrontendBench as a reliable and scalable benchmark, supporting consistent multimodal evaluation and providing a robust foundation for future research in front-end code generation. Our data and code will be released soon.
- Asia > China > Beijing > Beijing (0.05)
- Asia > China > Sichuan Province > Chengdu (0.04)
- Europe > Belgium > Brussels-Capital Region > Brussels (0.04)
- (2 more...)
Advancing vision-language models in front-end development via data synthesis
Ge, Tong, Liu, Yashu, Ye, Jieping, Li, Tianyi, Wang, Chao
Modern front-end (FE) development, especially when leveraging the unique features of frameworks like React and Vue, presents distinctive challenges. These include managing modular architectures, ensuring synchronization between data and visual outputs for declarative rendering, and adapting reusable components to various scenarios. Such complexities make it particularly difficult for state-of-the-art large vision-language models (VLMs) to generate accurate and functional code directly from design images. To address these challenges, we propose a reflective agentic workflow that synthesizes high-quality image-text data to capture the diverse characteristics of FE development. This workflow automates the extraction of self-contained\footnote{A \textbf{self-contained} code snippet is one that encapsulates all necessary logic, styling, and dependencies, ensuring it functions independently without requiring external imports or context.} code snippets from real-world projects, renders the corresponding visual outputs, and generates detailed descriptions that link design elements to functional code. To further expand the scope and utility of the synthesis, we introduce three data synthesis strategies: Evolution-based synthesis, which enables scalable and diverse dataset expansion; Waterfall-Model-based synthesis, which generates logically coherent code derived from system requirements; and Additive Development synthesis, which iteratively increases the complexity of human-authored components. We build a large vision-language model, Flame, trained on the synthesized datasets and demonstrate its effectiveness in generating React code via the $\text{pass}@k$ metric. Our results suggest that a code VLM trained to interpret images before code generation may achieve better performance.
- Workflow (1.00)
- Research Report > New Finding (1.00)
Top 10 Machine Learning Boot Camps Aspirants Should Attend - TOP 10
Machine learning technology can autonomously identify malignant tumors, pilot Teslas, and real-time machine learning algorithms are ground-breakingly independent. Machine learning boot camps can offer a fast and affordable path to a career in computer science. Machine learning boot camps cover the fundamentals of artificial intelligence and data science. This Bootcamp collaborates with large corporations, therefore, Codesmith students will have the opportunity to work in large corporations. Codesmith teaches students full-stack development, front-end development, and JavaScript, emphasizing machine learning.
How front-end development can improve Artificial Intelligence
Visualisation makes the system easier to use, and easier to improve. Whether it's an app, a consumer service or part of an internal process, the end goal is to use AI technology to power a product. One of the biggest challenges is understanding and addressing the system's error profile. Your system is almost certainly going to make mistakes. When it does, you want to fail gracefully.
AI-Powered Tools For Designers
Artificial intelligence affected many fields in our life. In many areas, today almost everything can be done with the help of AI. Changes and challenges await us soon, which we will have to face in previously unimaginable ways. We will have to share our world with artificial intelligence by rethinking how we do work and our social models. Like many other industries, Artificial intelligence has affected the world of web design as well.
AI & Machine Learning : Impact on Front-End Development
Since Websites reflect a brand's identity, it has become an essential and unavoidable part of every business. Developing an appealing and engaging website has been the challenge most developers had to face in their career. From creating the designs to making the website bug free, front-end development was indeed challenging. It will take months to develop a website, make it free from bugs after repeated rounds of testing and make it live finally. Of late AI and Machine learning technologies have made things easier for developers.
How you can train AI to convert design mockups into HTML and CSS
Within three years, deep learning will change front-end development. It will increase prototyping speed and lower the barrier for building software. The field took off last year when Tony Beltramelli introduced the pix2code paper and Airbnb launched sketch2code. Currently, the largest barrier to automating front-end development is computing power. However, we can use current deep learning algorithms, along with synthesized ...
emilwallner/Screenshot-to-code-in-Keras
This is the code for the article'Turning design mockups into code with deep learning' on FloydHub's blog. Within three years deep learning will change front-end development. It will increase prototyping speed and lower the barrier for building software. The field took off last year when Tony Beltramelli introduced the pix2code paper and Airbnb launched sketching interfaces. Currently, the largest barrier to automating front-end development is computing power.
How Front-End Development Can Improve Artificial Intelligence
Visualisation makes the system easier to use, and easier to improve. Whether it's an app, a consumer service or part of an internal process, the end goal is to use AI technology to power a product. One of the biggest challenges is understanding and addressing the system's error profile. Your system is almost certainly going to make mistakes. When it does, you want to fail gracefully.